<include file="./top" />
<!-- start: Header -->
<include file="./head" />
<!-- end: Header -->

<div class="container-fluid content">
<div class="row"> 
  
  <!-- start: Main Menu --> 
  <include file="./slide" /> 
  <!-- end: Main Menu --> 
  
  <!-- start: Content -->
  <div class="main sidebar-minified">
    <div class="row">
      <div class="col-md-8">
        <div class="panel panel-default" >
          <div class="panel-heading" style=" height:50px; line-height:50px;">
            <ul class="nav tab-menu nav-tabs" id="myTab"  style=" float:left;">
              <li class="active" ><a href="l#info" style=" height:50px; line-height:30px;">核心设置</a></li>
              
              <li ><a href="#fx" style=" height:50px; line-height:30px;">分销设置</a></li>

              <li  ><a href="#zaxiang" style=" height:50px; line-height:30px;">杂项配置</a></li>
              <li  ><a href="#custom" style=" height:50px; line-height:30px;">防作弊配置</a></li>
              <li ><a href="#messages" style=" height:50px; line-height:30px;">扣量设置</a></li>
            </ul>
          </div>
          <form action="{:U("Site/site_do")}" method="post" class="form-horizontal ">
            <div class="panel-body">
              <div id="myTabContent" class="tab-content">
                <div class="tab-pane active" id="info">
                  <div class="form-group">
                    <label class="col-sm-2 control-label" for="input-small">网站名称</label>
                    <div class="col-xs-3">
                      <input type="text" id="input-small" name="SITE_NAME" class="form-control input-sm" placeholder="填写网站名称" value="{:C("SITE_NAME")}">
                    </div>
                  </div>
                  <div class="form-group">
                    <label class="col-sm-2 control-label" for="input-normal">网站主域名</label>
                    <div class="col-xs-3">
                      <input type="text" id="input-normal" name="SITE_URL" class="form-control" placeholder="填写网站域名,不要带http://" value="{:C('SITE_URL')}">
                    </div>
                  </div>
                  <div class="form-group">
                    <label class="col-sm-2 control-label" for="input-normal">客服QQ</label>
                    <div class="col-xs-3">
                      <input type="text" id="input-normal" name="QQ" class="form-control" placeholder=""  value="{:C('QQ')}">
                    </div>
                  </div>
                  <div class="form-group">
                    <label class="col-sm-2 control-label" for="input-normal">APPID</label>
                    <div class="col-xs-3">
                      <input type="text" id="input-normal" name="APPID" class="form-control" placeholder=""  value="{:C('APPID')}">
                    </div>
                  </div>
                  <div class="form-group">
                    <label class="col-sm-2 control-label" for="input-normal">APPSECRET</label>
                    <div class="col-xs-3">
                      <input type="text" id="input-normal" name="APPSECRET" class="form-control" placeholder=""  value="{:C('APPSECRET')}">
                    </div>
                  </div>
                  <div class="form-group">
                    <label class="col-sm-2 control-label" for="input-normal">文章分页</label>
                    <div class="col-xs-3">
                      <input type="text" id="input-normal" name="FENYE_SIZE" class="form-control" placeholder=""  value="{:C('FENYE_SIZE')}">
                    </div>
                    条一页 </div>
                  <div class="form-group">
                    <label class="col-sm-2 control-label" for="input-normal">会员中心标题</label>
                    <div class="col-xs-3">
                      <input type="text" id="input-normal" name="USER_TITLE" class="form-control" value="{:C('USER_TITLE')}" >
                    </div>
                  </div>
                  <div class="form-group">
                    <label class="col-sm-2 control-label" for="input-normal">公众号二维码</label>
                    <div class="col-xs-3">
                      <input type="text" id="input-normal" name="GZPZ_CODE" class="form-control" value="{:C('GZPZ_CODE')}"  >
                    </div>
                  </div>
                  <div class="form-group">
                    <label class="col-sm-2 control-label" for="input-normal">注册就送</label>
                    <div class="col-xs-3">
                      <input type="text" id="input-normal" name="REG_MONEY" class="form-control" value="{:C('REG_MONEY')}"  >
                    </div>
                    元 *如果不开启写0 </div>
					<div class="form-group">
                    <label class="col-sm-2 control-label" for="input-normal">邀请就送</label>
                    <div class="col-xs-3">
                      <input type="text" id="input-normal2" name="INVITED_PRICE" class="form-control" value="{:C('INVITED_PRICE')}"  >
                    </div>
                    元 *如果不开启写0 </div>
                  
                  
                 <div class="form-group">
                    <label class="col-sm-2 control-label" for="input-normal">订购成功跳转url:</label>
                    <div class="col-xs-3">
                      <input type="text" id="input-normal" name="BUY_OK" class="form-control" value="{:C('BUY_OK')}"  >
                    </div>
                    元 *如果不开启写0 </div>
                  
                  
                  
                  
                   <div class="form-group">
                    <label class="col-sm-2 control-label" for="input-normal">满多少提现</label>
                    <div class="col-xs-3">
                      <input type="text" id="input-normal" name="TIXIAN_MONEY" class="form-control" value="{:C('TIXIAN_MONEY')}"  >
                    </div>
                  </div>
                  
                


                 <div class="form-group">
                    <label class="col-sm-2 control-label" for="input-normal">分享跳转分类</label>
                    <div class="col-sm-3">
                      <input type="text" id="input-normal" name="CATE_ID" class="form-control" value="{:C('CATE_ID')}"  >
                    </div>
                  </div>
                  
                  <div class="form-group">
                    <label class="col-sm-2 control-label" for="input-normal">1级上线返点</label>
                    <div class="col-xs-3">
                      <input type="text" id="input-normal" name="USER_BAIFENBI_1" class="form-control" value="{:C('USER_BAIFENBI_1')}"  >
                    </div>
                    百分比 </div>
                  <div class="form-group">
                    <label class="col-sm-2 control-label" for="input-normal">2级上线返点</label>
                    <div class="col-xs-3">
                      <input type="text" id="input-normal" name="USER_BAIFENBI_2" class="form-control" value="{:C('USER_BAIFENBI_2')}" >
                    </div>
                    百分比 </div>
                  <div class="form-group">
                    <label class="col-sm-2 control-label" for="input-normal">3级上线返点</label>
                    <div class="col-xs-3">
                      <input type="text" id="input-normal" name="USER_BAIFENBI_3" class="form-control" value="{:C('USER_BAIFENBI_3')}" >
                    </div>
                    百分比 </div>
                  <div class="form-group">
                    <label class="col-sm-2 control-label" for="input-normal">4级上线返点</label>
                    <div class="col-xs-3">
                      <input type="text" id="input-normal" name="USER_BAIFENBI_4" class="form-control" value="{:C('USER_BAIFENBI_4')}"  >
                    </div>
                    百分比 </div>
                  <div class="form-group">
                    <label class="col-sm-2 control-label" for="input-normal">5级上线返点</label>
                    <div class="col-xs-3">
                      <input type="text" id="input-normal" name="USER_BAIFENBI_5" class="form-control" value="{:C('USER_BAIFENBI_5')}"  >
                    </div>
                    百分比 </div>
                </div>
 <div class="tab-pane" id="fx">

 <div class="form-group">
     <label class="col-sm-2 control-label" for="input-normal">分销中心</label>
                    <div class="col-sm-3">
                      <label  class="control-label" >
                        <input type="radio"  name="FX" value="1" <?php if(C('FX')){?> checked="checked" <?php }?>  >
                        开启
                        <input type="radio"  name="FX" value="0" <?php if(!C('FX')){?> checked="checked" <?php }?>  >
                        关闭 </label>
     </div>
 </div>

                   <div class="form-group">
                    <label class="col-sm-2 control-label" for="input-normal">1小时最多提交多少次</label>
                    <div class="col-xs-3">
                      <input type="text" id="input-normal" name="ORDER_NUM" class="form-control" value="{:C('ORDER_NUM')}"  >
                    </div>
                 </div>
                 
           
              <div class="form-group">
                    <label class="col-sm-2 control-label" for="input-normal">订单短信签名</label>
                    <div class="col-xs-3">
                      <input type="text" id="input-normal" name="ORDER_SMSQM" class="form-control" value="{:C('ORDER_SMSQM')}"  >
                    </div>
                 </div>
           
           
                 
                                   <div class="form-group">
                    <label class="col-sm-2 control-label" for="input-normal">订单短信提醒</label>
                    <div class="col-sm-3">
                      <label  class="control-label" >
                        <input type="radio"  name="ORDER_SMS" value="1" <?php if(C('ORDER_SMS')){?> checked="checked" <?php }?>  >
                        开启
                        <input type="radio"  name="ORDER_SMS" value="0" <?php if(!C('ORDER_SMS')){?> checked="checked" <?php }?>  >
                        关闭 </label>
                    </div>
                  </div>
        
           
                
                
                 
                        <div class="form-group">
                        <label class="col-sm-2 control-label" for="input-normal">订单短信提醒模板ID</label>
                        <div class="col-xs-3">
                        <input type="text" id="input-normal" name="ORDER_SMS_ID" class="form-control" value="{:C('ORDER_SMS_ID')}"  >
                        </div>
                        </div>        
                 
                 


 </div>



                <div class="tab-pane" id="zaxiang">
                  <div class="form-group">
                    <label class="col-sm-2 control-label" for="input-normal">微信一键登陆</label>
                    <div class="col-sm-3">
                      <label  class="control-label" >
                        <input type="radio"  name="WEIXIN_LOGIN" value="1" <?php if(C('WEIXIN_LOGIN')){?> checked="checked" <?php }?>  >
                        开启
                        <input type="radio"  name="WEIXIN_LOGIN" value="0" <?php if(!C('WEIXIN_LOGIN')){?> checked="checked" <?php }?>  >
                        关闭 </label>
                    </div>
                  </div>
                  <div class="form-group">
                    <label class="col-sm-2 control-label" for="input-normal">短信验证码</label>
                    <div class="col-sm-3">
                      <label  class="control-label" >
                        <input type="radio"  name="MSG_STATE" value="1" <?php if(C('MSG_STATE')){?> checked="checked" <?php }?>  >
                        开启
                        <input type="radio"  name="MSG_STATE" value="0" <?php if(!C('MSG_STATE')){?> checked="checked" <?php }?>  >
                        关闭 </label>
                    </div>
                    *开启的话 在Index.php 配置短信参数 </div>
                              <div class="form-group">
                    <label class="col-sm-2 control-label" for="input-normal">强制关注微信</label>
                    <div class="col-sm-3">
                      <label  class="control-label" >
                        <input type="radio"  name="USER_REG" value="1" <?php if(C('USER_REG')){?> checked="checked" <?php }?>  >
                        开启
                        <input type="radio"  name="USER_REG" value="0" <?php if(!C('USER_REG')){?> checked="checked" <?php }?>  >
                        关闭 </label>
                    </div>
                  </div>
                    
                    
                  <div class="form-group">
                    <label class="col-sm-2 control-label" for="input-normal">微信登陆强制补全信息</label>
                    <div class="col-sm-3">
                      <label  class="control-label" >
                        <input type="radio"  name="WEIXIN_REG_TEL" value="1" <?php if(C('WEIXIN_REG_TEL')){?> checked="checked" <?php }?>  >
                        开启
                        <input type="radio"  name="WEIXIN_REG_TEL" value="0" <?php if(!C('WEIXIN_REG_TEL')){?> checked="checked" <?php }?>  >
                        关闭 </label>
                    </div>
                  </div>
        
                </div>
                <div class="tab-pane" id="custom">
                  <div class="form-group">
                    <label class="col-sm-2 control-label" for="input-normal">作弊模块DEBUG模式</label>
                    <div class="col-sm-3">
                      <label  class="control-label" >
                        <input type="radio"  name="JIFEI_DEBUG" value="1" <?php if(C('JIFEI_DEBUG')){?> checked="checked" <?php }?>  >
                        是
                        <input type="radio"  name="JIFEI_DEBUG" value="0" <?php if(!C('JIFEI_DEBUG')){?> checked="checked" <?php }?>  >
                        否 </label>
                    </div>
                    *调式的时候用 如果开启会提示 为什么不计费 </div>
                  <div class="form-group">
                    <label class="col-sm-2 control-label" for="input-normal">PC是否计费</label>
                    <div class="col-sm-6">
                      <label  class="control-label" >
                        <input type="radio"  name="PC_JIFEI" value="1" <?php if(C('PC_JIFEI')){?> checked="checked" <?php }?>  >
                        是
                        <input type="radio"  name="PC_JIFEI" value="0" <?php if(!C('PC_JIFEI')){?> checked="checked" <?php }?>  >
                        否 </label>
                    </div>
                  </div>
                  <div class="form-group">
                    <label class="col-sm-2 control-label" for="input-normal">会员之间互点不计费</label>
                    <div class="col-sm-6">
                      <label  class="control-label" >
                        <input type="radio"  name="USER_DIANJI_JIFEI" value="1" <?php if(C('USER_DIANJI_JIFEI')){?> checked="checked" <?php }?>  >
                        是
                        <input type="radio"  name="USER_DIANJI_JIFEI" value="0" <?php if(!C('USER_DIANJI_JIFEI')){?> checked="checked" <?php }?>  >
                        否 </label>
                    </div>
                  </div>
                  <div class="form-group">
                    <label class="col-sm-2 control-label" for="input-normal">同一个IP计费周期</label>
                    <div class="col-xs-3">
                      <input type="text" id="input-normal" name="IP_JIFEI_TIME" class="form-control col-sm-5" value="{:C('IP_JIFEI_TIME')}"  >
                    </div>
                    小时 </div>
                  <div class="form-group">
                    <label class="col-sm-2 control-label" for="input-normal">访问多少秒才开始计费</label>
                    <div class="col-xs-3">
                      <input type="text" id="input-normal" name="FANGWEN_TIME" class="form-control col-sm-5" value="{:C('FANGWEN_TIME')}" >
                    </div>
                    秒 </div>
                  <div class="form-group">
                    <label class="col-sm-2 control-label" for="input-normal">朋友圈打开才计费</label>
                    <div class="col-sm-6">
                      <label  class="control-label" >
                        <input type="radio"  name="PENGYOUQUAN_JIFEI" value="1"  <?php if(C('PENGYOUQUAN_JIFEI')){?> checked="checked" <?php }?>  >
                        是
                        <input type="radio"  name="PENGYOUQUAN_JIFEI" value="0"  <?php if(!C('PENGYOUQUAN_JIFEI')){?> checked="checked" <?php }?>  >
                        否 </label>
                    </div>
                  </div>
                  <div class="form-group">
                    <label class="col-sm-2 control-label" for="input-normal">拦截日志单IP记录周期</label>
                    <div class="col-xs-3">
                      <input type="text" id="input-normal" name="LANJIE_LOG_TIME" class="form-control col-sm-5" value="{:C('LANJIE_LOG_TIME')}" >
                    </div>
                  </div>
                  <div class="form-group">
                    <label class="col-sm-2 control-label" for="input-normal">同一个IP间隔多长时间重新计费</label>
                    <div class="col-xs-3">
                      <input type="text" id="input-normal" name="JIFEI_LOG_TIME" class="form-control col-sm-5" value="{:C('JIFEI_LOG_TIME')}" >
                    </div>
                  </div>
                  <div class="form-group">
                    <label class="col-sm-2 control-label" for="input-normal">开启高级防作弊</label>
                    <div class="col-sm-6">
                      <label  class="control-label" >
                        <input type="radio"  name="GAOJI_LANJIE" value="1" <?php if(C('GAOJI_LANJIE')){?> checked="checked" <?php }?>  >
                        是
                        <input type="radio"  name="GAOJI_LANJIE" value="0" <?php if(!C('GAOJI_LANJIE')){?> checked="checked" <?php }?>  >
                        否 </label>
                    </div>
                  </div>
                  <div class="form-group">
                    <label class="col-sm-2 control-label" for="input-normal">超高级防作弊模式</label>
                    <div class="col-sm-6">
                      <label  class="control-label" >
                        <input type="radio"  name="CHAOGAOJI_LANJIE" value="1" <?php if(C('CHAOGAOJI_LANJIE')){?> checked="checked" <?php }?>  >
                        是
                        <input type="radio"  name="CHAOGAOJI_LANJIE" value="0" <?php if(!C('CHAOGAOJI_LANJIE')){?> checked="checked" <?php }?>  >
                        否 </label>
                      *建议开启百分比可以防止会员作弊 (主要是防止有人使用恶意软件刷流量)</div>
                  </div>
                  <div class="form-group">
                    <label class="col-sm-2 control-label" for="input-normal">全局点击计费金额</label>
                    <div class="col-xs-3">
                      <input type="text" id="input-normal" name="QUJU_DIANJI_PRICE" class="form-control col-sm-5" value="{:C('QUJU_DIANJI_PRICE')}"  >
                    </div>
                    依次顺序为:分类单独点击价格,会员单独点击价格,如果都没配置，默认为全局点击价格 </div>
                  <div class="form-group">
                    <label class="col-sm-2 control-label" for="input-normal">单独计费模式</label>
                    <div class="col-sm-6">
                      <label  class="control-label" >
                        <input type="radio"  name="QUJI_DIANJI" value="1" <?php if(C('QUJI_DIANJI')){?> checked="checked" <?php }?>  >
                        是
                        <input type="radio"  name="QUJI_DIANJI" value="0" <?php if(!C('QUJI_DIANJI')){?> checked="checked" <?php }?>  >
                        否 </label>
                      *如果开启这个配置，按照分类和按照会员点击金额将无效! </div>
                  </div>
                  <div class="form-group">
                    <label class="col-sm-2 control-label" for="input-normal">是否开启加款日志</label>
                    <div class="col-sm-6">
                      <label  class="control-label" >
                        <input type="radio"  name="JIAKUAN_LOG" value="1" <?php if(C('JIAKUAN_LOG')){?> checked="checked" <?php }?>  >
                        是
                        <input type="radio"  name="JIAKUAN_LOG" value="0" <?php if(!C('JIAKUAN_LOG')){?> checked="checked" <?php }?>  >
                        否 </label>
                    </div>
                  </div>
                  <div class="form-group">
                    <label class="col-sm-2 control-label" for="input-normal">下级粉丝加款日志</label>
                    <div class="col-sm-6">
                      <label  class="control-label" >
                        <input type="radio"  name="JIAKUAN_LOG_FANS" value="1" <?php if(C('JIAKUAN_LOG_FANS')){?> checked="checked" <?php }?>  >
                        是
                        <input type="radio"  name="JIAKUAN_LOG_FANS" value="0" <?php if(!C('JIAKUAN_LOG_FANS')){?> checked="checked" <?php }?>  >
                        否 </label>
                    </div>
                  </div>
                  <div class="form-group">
                    <label class="col-sm-2 control-label" for="input-normal">黑名单Ip段</label>
                    <div class="col-sm-7">
                      <textarea name="ARRIP"  id="limit" class="form-control" rows="6" style="width:100%">{:C('ARRIP')}</textarea>
                      <br />
                      *每行一段,支持2种模式 192.1.1.1-192.168.255.255 传统IP段,或者192.1.*.* 星 </div>
                  </div>
                  号模式 </div>
                <div class="tab-pane" id="messages">
                  <div class="form-group">
                    <label class="col-sm-2 control-label" for="input-normal">开启扣量日志</label>
                    <div class="col-sm-6">
                      <label  class="control-label" >
                        <input type="radio"  name="KOULIANG_LOG" value="1"  <?php if(C('KOULIANG_LOG')){?> checked="checked" <?php }?>  >
                        是
                        <input type="radio"  name="KOULIANG_LOG" value="0"  <?php if(!C('KOULIANG_LOG')){?> checked="checked" <?php }?>  >
                        否 </label>
                    </div>
                  </div>
                  <div class="form-group">
                    <label class="col-sm-2 control-label" for="input-normal">扣量时间</label>
                    <div class="col-xs-3">
                      <input type="text" id="input-normal" name="KOULIANG_TIME" class="form-control col-sm-5"  value="{:C('KOULIANG_TIME')}"   >
                    </div>
                    *多时间用,号隔开,如全时间扣量设置为0;(时间格式为24小时制) </div>
                  <div class="form-group">
                    <label class="col-sm-2 control-label" for="input-normal">会员单独扣量</label>
                    <div class="col-xs-3">
                      <label  class="control-label" >
                        <input type="radio"  name="KOULIANG_USER" value="1" <?php if(C('KOULIANG_USER')){?> checked="checked" <?php }?>  >
                        是
                        <input type="radio"  name="KOULIANG_USER" value="0" <?php if(!C('KOULIANG_USER')){?> checked="checked" <?php }?>  >
                        否 </label>
                    </div>
                  </div>
                  <div class="form-group">
                    <label class="col-sm-2 control-label" for="input-normal">全局扣量比例</label>
                    <div class="col-xs-3">
                      <input type="text" id="input-normal" name="KOULIANG_BILI" class="form-control col-sm-5" value="{:C('KOULIANG_BILI')}"    >
                    </div>
                  </div>
                  <div class="form-group">
                    <label class="col-sm-2 control-label" for="input-normal">新会员多少天之后扣量</label>
                    <div class="col-xs-3">
                      <input type="text" id="input-normal" name="KOULIANG_USER_REG_TIME" class="form-control col-sm-5"  value="{:C('KOULIANG_USER_REG_TIME')}"  >
                    </div>
                  </div>
                  <div class="form-group">
                    <label class="col-sm-2 control-label" for="input-normal">总金额达到多少开始扣量 </label>
                    <div class="col-xs-3">
                      <input type="text" id="input-normal" name="KOULIANG_USER_MONEY_TOTAL" class="form-control col-sm-5"  value="{:C('KOULIANG_USER_MONEY_TOTAL')}"  >
                    </div>
                  </div>
                </div>
              </div>
            </div>
            <div class="panel-footer">
              <div class="col-sm-2"></div>
              <button type="submit" class="btn btn-sm btn-success"><i class="fa fa-dot-circle-o"></i>保存</button>
              <button type="reset" class="btn btn-sm btn-danger"><i class="fa fa-ban"></i> 重写</button>
            </div>
          </form>
        </div>
      </div>
    </div>
  </div>
</div>
<include file="./foot" />
</body>
</html>
